package com.bjpowernode.crm.workbench.dao;

import com.bjpowernode.crm.settings.domain.DictionaryType;
import com.bjpowernode.crm.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

/**
 * ClassName:ActivityDao
 * package:com.bjpowernode.crm.settings.dao
 * Description:
 *
 * @date: 2022-05-28 1:25
 * @author：lin
 */
public interface ActivityDao {


    void saveActivity(Activity activity);

    List<Activity> searchActivity(Map<String, Object> map);

    int searchActivityCount(Map<String, Object> map);

    void deleteActivity(String[] ids);


    Activity getActivityById(String id);

    void updateActivity(Activity activity);

    List<Activity> exportActivityAll();


    List<Activity> searchActivityById(String[] id);

    int importActivity(List<Activity> activityList);

    Activity searchActivityId(String id);

    List<Activity> activityByClueId(String id);


    List<Activity> activityAll(Map map);
}
